export default [
  {
    path: "/user",
    name: "userModule",
    redirect: '/user/home',
    meta: {
      title: "用户管理",
      icon: "User",
      roles: ["admin"],
    },
    children: [
      {
        path: "/user/home",
        name: "userHome",
        component: () => import("@/views/micro-apps/UserApp.vue"),
      },
      {
        path: "/user/detail",
        name: "userDetail",
        component: () => import("@/views/micro-apps/UserApp.vue"),
      },
      {
        path: "/user/list",
        name: "userList",
        component: () => import("@/views/micro-apps/UserApp.vue"),
      },
      {
        path: "/user/create",
        name: "userCreate",
        component: () => import("@/views/micro-apps/UserApp.vue"),
      },
    ],
  },
]
